package com.gxa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

public class Customer {

  private Integer customerId;
  private String customerName;
  private Integer customerGender;
  private Integer customerStatus;
  private Integer customerStateAssignment;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp createTime;
  private String entryPerson;
  private Integer valueId;
  private Integer satisfactionId;
  private Integer typeId;
  private String phone;
  private String mailbox;
  private String adress;
  private double consume;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp updateTime;
  private String chanceName;
  private String chanceValue;
  private String chanceType;
  private String giveName;

  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }

  public String getChanceName() {
    return chanceName;
  }

  public void setChanceName(String chanceName) {
    this.chanceName = chanceName;
  }

  public String getChanceValue() {
    return chanceValue;
  }

  public void setChanceValue(String chanceValue) {
    this.chanceValue = chanceValue;
  }

  public String getChanceType() {
    return chanceType;
  }

  public void setChanceType(String chanceType) {
    this.chanceType = chanceType;
  }

  public String getGiveName() {
    return giveName;
  }

  public void setGiveName(String giveName) {
    this.giveName = giveName;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getMailbox() {
    return mailbox;
  }

  public void setMailbox(String mailbox) {
    this.mailbox = mailbox;
  }

  public String getAdress() {
    return adress;
  }

  public void setAdress(String adress) {
    this.adress = adress;
  }

  public double getConsume() {
    return consume;
  }

  public void setConsume(double consume) {
    this.consume = consume;
  }

  //客户类型
  private Type type;

//客户价值
  private Value value;

//客户满意度
  private Satisfaction satisfaction;

  public Customer() {
  }

  public Value getValue() {
    return value;
  }

  public void setValue(Value value) {
    this.value = value;
  }

  public Satisfaction getSatisfaction() {
    return satisfaction;
  }

  public void setSatisfaction(Satisfaction satisfaction) {
    this.satisfaction = satisfaction;
  }

  public Type getType() {
    return type;
  }

  public void setType(Type type) {
    this.type = type;
  }

  public Integer getCustomerId() {
    return customerId;
  }

  public void setCustomerId(Integer customerId) {
    this.customerId = customerId;
  }

  public Integer getTypeId() {
    return typeId;
  }

  public void setTypeId(Integer typeId) {
    this.typeId = typeId;
  }

  public String getCustomerName() {
    return customerName;
  }

  public void setCustomerName(String customerName) {
    this.customerName = customerName;
  }


  public Integer getCustomerGender() {
    return customerGender;
  }

  public void setCustomerGender(Integer customerGender) {
    this.customerGender = customerGender;
  }


  public Integer getCustomerStatus() {
    return customerStatus;
  }

  public void setCustomerStatus(Integer customerStatus) {
    this.customerStatus = customerStatus;
  }


  public Integer getCustomerStateAssignment() {
    return customerStateAssignment;
  }

  public void setCustomerStateAssignment(Integer customerStateAssignment) {
    this.customerStateAssignment = customerStateAssignment;
  }


  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }


  public String getEntryPerson() {
    return entryPerson;
  }

  public void setEntryPerson(String entryPerson) {
    this.entryPerson = entryPerson;
  }


  public Integer getValueId() {
    return valueId;
  }

  public void setValueId(Integer valueId) {
    this.valueId = valueId;
  }


  public Integer getSatisfactionId() {
    return satisfactionId;
  }

  public void setSatisfactionId(Integer satisfactionId) {
    this.satisfactionId = satisfactionId;
  }

  @Override
  public String toString() {
    return "Customer{" +
            "customerId=" + customerId +
            ", customerName='" + customerName + '\'' +
            ", customerGender=" + customerGender +
            ", customerStatus=" + customerStatus +
            ", customerStateAssignment=" + customerStateAssignment +
            ", createTime=" + createTime +
            ", entryPerson='" + entryPerson + '\'' +
            ", valueId=" + valueId +
            ", satisfactionId=" + satisfactionId +
            ", typeId=" + typeId +
            ", type=" + type +
            ", value=" + value +
            ", satisfaction=" + satisfaction +
            '}';
  }
}
